home *** CD-ROM | disk | FTP | other *** search
- Path: lrz-muenchen.de!news
- From: watzka@stat.uni-muenchen.de (Kurt Watzka)
- Newsgroups: comp.lang.c++
- Subject: Re: Arrays in C and c++
- Date: 9 Apr 1996 10:48:36 GMT
- Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
- Distribution: world
- Message-ID: <4kdfa4$snu@sparcserver.lrz-muenchen.de>
- References: <4kc929$38k@hermes.acs.unt.edu>
- NNTP-Posting-Host: sun2.lrz-muenchen.de
-
- jnr0001@jove.acs.unt.edu (Joseph Neal Rake) writes:
-
- >Is it possible to do 2 dimensional arrays in C or C++? If so, how?
-
- >This is probably a related question: How does one do an array of strings
- >in C or C++, since 1 string is already an array?
-
- C: use an array of arrays.
- C++: <string> should be pretty wide-spread nowadays, so an array
- (or vector, if you have access to the STL) should be what
- you are looking for.
-
- Kurt
- --
- | Kurt Watzka Phone : +49-89-2180-6254
- | watzka@stat.uni-muenchen.de
-